package com.book.common;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableDiscoveryClient  //开启服务发现客户端
@EnableZuulProxy  //开启网关
public class BookGateWayApplication {
    public static void main(String[] args) {
        SpringApplication.run(BookGateWayApplication.class);
    }
}
